package org.tissou.client.DonneesAAfficher;

import org.tissou.client.Services.Parametres;
import org.tissou.client.Services.MonnaieInfos;
import com.google.gwt.user.client.rpc.IsSerializable;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.HTML;

/**
 * Created by IntelliJ IDEA.
 * User: Claire
 * Date: 03/03/2009
 * Time: 21:12:32
 * To change this template use File | Settings | File Templates.
 */
public class Element_Parametres implements IsSerializable,Element{
  Parametres params;

  public Element_Parametres() {
  }

  public Parametres getParametres() {
    return params;
  }

  public Element_Parametres(Parametres params) {
    this.params = params;
  }

  public Widget ConvertirEnWidget() {
    return new HTML(params.getTypeoperation().getVraiNom());
  }

  public Element clone() {
    return new Element_Parametres();
  }
  public void setCaracteristique(Parametres caracteristique) {

      params = caracteristique;

  }
}